G_TYPE_BOOLEAN, 1, G_TYPE_STRING);
/**
- * GtkLabel:label:
+ * GtkLabel:label: (attributes org.gtk.Property.get=gtk_label_get_label org.gtk.Property.set=gtk_label_set_label)
*
* The contents of the label.
*
GTK_PARAM_READWRITE);
/**
- * GtkLabel:attributes:
+ * GtkLabel:attributes: (attributes org.gtk.Property.get=gtk_label_get_attributes org.gtk.Property.set=gtk_label_set_attributes)
*
* A list of style attributes to apply to the text of the label.
*/
GTK_PARAM_READWRITE);
/**
- * GtkLabel:use-markup:
+ * GtkLabel:use-markup: (attributes org.gtk.Property.get=gtk_label_get_use_markup org.gtk.Property.set=gtk_label_set_use_markup)
*
* %TRUE if the text of the label includes Pango markup.
*
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
/**
- * GtkLabel:use-underline:
+ * GtkLabel:use-underline: (attributes org.gtk.Property.get=gtk_label_get_use_underline org.gtk.Property.set=gtk_label_set_use_underline)
*
* %TRUE if the text of the label indicates a mnemonic with _.
*/
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
/**
- * GtkLabel:justify:
+ * GtkLabel:justify: (attributes org.gtk.Property.get=gtk_label_get_justify org.gtk.Property.set=gtk_label_set_justify)
*
* The alignment of the lines in the text of the label, relative to each other.
*
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
/**
- * GtkLabel:xalign:
+ * GtkLabel:xalign: (attributes org.gtk.Property.get=gtk_label_get_xalign org.gtk.Property.set=gtk_label_set_xalign)
*
* The horizontal alignment of the label text inside its size allocation.
*
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
/**
- * GtkLabel:yalign:
+ * GtkLabel:yalign: (attributes org.gtk.Property.get=gtk_label_get_yalign org.gtk.Property.set=gtk_label_set_yalign)
*
* The vertical alignment of the label text inside its size allocation.
*
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
/**
- * GtkLabel:wrap:
+ * GtkLabel:wrap: (attributes org.gtk.Property.get=gtk_label_get_wrap org.gtk.Property.set=gtk_label_set_wrap)
*
* %TRUE if the label text will wrap if it gets too wide.
*/
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
/**
- * GtkLabel:wrap-mode:
+ * GtkLabel:wrap-mode: (attributes org.gtk.Property.get=gtk_label_get_wrap_mode org.gtk.Property.set=gtk_label_set_wrap_mode)
*
* Controls how the line wrapping is done.
*
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
/**
- * GtkLabel:selectable:
+ * GtkLabel:selectable: (attributes org.gtk.Property.get=gtk_label_get_selectable og.gtk.Property.set=gtk_label_set_selectable)
*
* Whether the label text can be selected with the mouse.
*/
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
/**
- * GtkLabel:mnemonic-keyval:
+ * GtkLabel:mnemonic-keyval: (attributes org.gtk.Property.get=gtk_label_get_mnemonic_keyval)
*
* The mnemonic accelerator key for the label.
*/
GTK_PARAM_READABLE);
/**
- * GtkLabel:mnemonic-widget:
+ * GtkLabel:mnemonic-widget: (attributes org.gtk.Property.get=gtk_label_get_mnemonic_widget org.gtk.Property.set=gtk_label_set_mnemonic_widget)
*
* The widget to be activated when the labels mnemonic key is pressed.
*/
GTK_PARAM_READWRITE);
/**
- * GtkLabel:ellipsize:
+ * GtkLabel:ellipsize: (attributes org.gtk.Property.get=gtk_label_get_ellipsize org.gtk.Property.set=gtk_label_set_ellipsize)
*
* The preferred place to ellipsize the string, if the label does
* not have enough room to display the entire string.
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
/**
- * GtkLabel:width-chars:
+ * GtkLabel:width-chars: (attributes org.gtk.Property.get=gtk_label_get_width_chars org.gtk.Property.set=gtk_label_set_width_chars)
*
* The desired width of the label, in characters.
*
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
/**
- * GtkLabel:single-line-mode:
+ * GtkLabel:single-line-mode: (attributes org.gtk.Property.get=gtk_label_get_single_line_mode org.gtk.Property.set=gtk_label_set_single_line_mode)
*
* Whether the label is in single line mode.
*
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
/**
- * GtkLabel:max-width-chars:
+ * GtkLabel:max-width-chars: (attributes org.gtk.Property.get=gtk_label_set_max_width_chars org.gtk.Property.set=gtk_label_set_max_width_chars)
*
* The desired maximum width of the label, in characters.
*
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
/**
- * GtkLabel:lines:
+ * GtkLabel:lines: (attributes org.gtk.Property.get=gtk_label_get_lines org.gtk.Property.set=gtk_label_set_lines)
*
* The number of lines to which an ellipsized, wrapping label
* should be limited.
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
/**
- * GtkLabel:extra-menu:
+ * GtkLabel:extra-menu: (attributes org.gtk.Property.get=gtk_label_get_extra_menu org.gtk.Property.set=gtk_label_set_extra_menu)
*
* A menu model whose contents will be appended to the context menu.
*/
}
/**
- * gtk_label_set_mnemonic_widget:
+ * gtk_label_set_mnemonic_widget: (attributes org.gtk.Method.set_property=mnemonic-widget)
* @self: a `GtkLabel`
* @widget: (nullable): the target #GtkWidget, or %NULL to unset
*
}
/**
- * gtk_label_get_mnemonic_widget:
+ * gtk_label_get_mnemonic_widget: (attributes org.gtk.Method.get_property=mnemonic-widget)
* @self: a `GtkLabel`
*
* Retrieves the target of the mnemonic (keyboard shortcut) of this
}
/**
- * gtk_label_get_mnemonic_keyval:
+ * gtk_label_get_mnemonic_keyval: (attributes org.gtk.Method.get_property=mnemonic-keyval)
* @self: a `GtkLabel`
*
* Return the mnemonic accelerator.
}
/**
- * gtk_label_set_attributes:
+ * gtk_label_set_attributes: (attributes org.gtk.Method.set_property=attributes)
* @self: a `GtkLabel`
* @attrs: (nullable): a [class@Pango.AttrList], or %NULL
*
}
/**
- * gtk_label_get_attributes:
+ * gtk_label_get_attributes: (attributes org.gtk.Method.get_property=attributes)
* @self: a `GtkLabel`
*
* Gets the labels attribute list.
}
/**
- * gtk_label_set_label:
+ * gtk_label_set_label: (attributes org.gtk.Method.set_property=label)
* @self: a `GtkLabel`
* @str: the new text to set for the label
*
}
/**
- * gtk_label_get_label:
+ * gtk_label_get_label: (attributes org.gtk.Method.get_property=label)
* @self: a `GtkLabel`
*
* Fetches the text from a label.
}
/**
- * gtk_label_set_justify:
+ * gtk_label_set_justify: (attributes org.gtk.Method.set_property=justify)
* @self: a `GtkLabel`
* @jtype: a `GtkJustification`
*
}
/**
- * gtk_label_get_justify:
+ * gtk_label_get_justify: (attributes org.gtk.Method.get_property=justify)
* @self: a `GtkLabel`
*
* Returns the justification of the label.
}
/**
- * gtk_label_set_ellipsize:
+ * gtk_label_set_ellipsize: (attributes org.gtk.Method.set_property=ellipsize)
* @self: a `GtkLabel`
* @mode: a `PangoEllipsizeMode`
*
}
/**
- * gtk_label_get_ellipsize:
+ * gtk_label_get_ellipsize: (attributes org.gtk.Method.get_property=ellipsize)
* @self: a `GtkLabel`
*
* Returns the ellipsizing position of the label.
}
/**
- * gtk_label_set_width_chars:
+ * gtk_label_set_width_chars: (attributes org.gtk.Method.set_property=width-chars)
* @self: a `GtkLabel`
* @n_chars: the new desired width, in characters.
*
}
/**
- * gtk_label_get_width_chars:
+ * gtk_label_get_width_chars: (attributes org.gtk.Method.get_property=width-chars)
* @self: a `GtkLabel`
*
* Retrieves the desired width of @label, in characters.
}
/**
- * gtk_label_set_max_width_chars:
+ * gtk_label_set_max_width_chars: (attributes org.gtk.Method.set_property=max-width-chars)
* @self: a `GtkLabel`
* @n_chars: the new desired maximum width, in characters.
*
}
/**
- * gtk_label_get_max_width_chars:
+ * gtk_label_get_max_width_chars: (attributes org.gtk.Method.get_property=max-width-chars)
* @self: a `GtkLabel`
*
* Retrieves the desired maximum width of @label, in characters.
}
/**
- * gtk_label_set_wrap:
+ * gtk_label_set_wrap: (attributes org.gtk.Method.set_property=wrap)
* @self: a `GtkLabel`
* @wrap: the setting
*
}
/**
- * gtk_label_get_wrap:
+ * gtk_label_get_wrap: (attributes org.gtk.Method.get_property=wrap)
* @self: a `GtkLabel`
*
* Returns whether lines in the label are automatically wrapped.
}
/**
- * gtk_label_set_wrap_mode:
+ * gtk_label_set_wrap_mode: (attributes org.gtk.Method.set_property=wrap-mode)
* @self: a `GtkLabel`
* @wrap_mode: the line wrapping mode
*
}
/**
- * gtk_label_get_wrap_mode:
+ * gtk_label_get_wrap_mode: (attributes org.gtk.Method.get_property=wrap-mode)
* @self: a `GtkLabel`
*
* Returns line wrap mode used by the label.
}
/**
- * gtk_label_set_selectable:
+ * gtk_label_set_selectable: (attributes org.gtk.Method.set_property=selectable)
* @self: a `GtkLabel`
* @setting: %TRUE to allow selecting text in the label
*
}
/**
- * gtk_label_get_selectable:
+ * gtk_label_get_selectable: (attributes org.gtk.Method.get_property=selectable)
* @self: a `GtkLabel`
*
* Returns whether the label is selectable.
}
/**
- * gtk_label_set_use_markup:
+ * gtk_label_set_use_markup: (attributes org.gtk.Method.set_property=use-markup)
* @self: a `GtkLabel`
* @setting: %TRUE if the label’s text should be parsed for markup.
*
}
/**
- * gtk_label_get_use_markup:
+ * gtk_label_get_use_markup: (attributes org.gtk.Method.get_property=use-markup)
* @self: a `GtkLabel`
*
* Returns whether the label’s text is interpreted as Pango markup.
}
/**
- * gtk_label_set_use_underline:
+ * gtk_label_set_use_underline: (attributes org.gtk.Method.set_property=use-underline)
* @self: a `GtkLabel`
* @setting: %TRUE if underlines in the text indicate mnemonics
*
}
/**
- * gtk_label_get_use_underline:
+ * gtk_label_get_use_underline: (attributes org.gtk.Method.get_property=use-underline)
* @self: a `GtkLabel`
*
* Returns whether an embedded underlines in the label indicate mnemonics.
}
/**
- * gtk_label_set_single_line_mode:
+ * gtk_label_set_single_line_mode: (attributes org.gtk.Method.set_property=single-line-mode)
* @self: a `GtkLabel`
* @single_line_mode: %TRUE if the label should be in single line mode
*
}
/**
- * gtk_label_get_single_line_mode:
+ * gtk_label_get_single_line_mode: (attributes org.gtk.Method.get_property=single-line-mode)
* @self: a `GtkLabel`
*
* Returns whether the label is in single line mode.
}
/**
- * gtk_label_set_lines:
+ * gtk_label_set_lines: (attributes org.gtk.Method.set_property=lines)
* @self: a `GtkLabel`
* @lines: the desired number of lines, or -1
*
}
/**
- * gtk_label_get_lines:
+ * gtk_label_get_lines: (attributes org.gtk.Method.get_property=lines)
* @self: a `GtkLabel`
*
* Gets the number of lines to which an ellipsized, wrapping
}
/**
- * gtk_label_set_xalign:
+ * gtk_label_set_xalign: (attributes org.gtk.Method.set_property=xalign)
* @self: a `GtkLabel`
* @xalign: the new xalign value, between 0 and 1
*
}
/**
- * gtk_label_get_xalign:
+ * gtk_label_get_xalign: (attributes org.gtk.Method.get_property=xalign)
* @self: a `GtkLabel`
*
* Gets the `xalign` of the label.
}
/**
- * gtk_label_set_yalign:
+ * gtk_label_set_yalign: (attributes org.gtk.Method.get_property=yalign)
* @self: a `GtkLabel`
* @yalign: the new yalign value, between 0 and 1
*
}
/**
- * gtk_label_get_yalign:
+ * gtk_label_get_yalign: (attributes org.gtk.Method.set_property=yalign)
* @self: a `GtkLabel`
*
* Gets the `yalign` of the label.
}
/**
- * gtk_label_set_extra_menu:
+ * gtk_label_set_extra_menu: (attributes org.gtk.Method.set_property=extra-menu)
* @self: a `GtkLabel`
* @model: (allow-none): a `GMenuModel`
*
}
/**
- * gtk_label_get_extra_menu:
+ * gtk_label_get_extra_menu: (attributes org.gtk.Method.get_property=extra-menu)
* @self: a `GtkLabel`
*
* Gets the extra menu model of @label.